/**
 * @Author: Your name
 * @Date:   2024-03-18 11:12:35
 * @Last Modified by:   Your name
 * @Last Modified time: 2024-03-18 12:00:05
 */
import 'package:flutter/material.dart';

class Tab3Content extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ListView(
      children: [
        _buildListItem('朋友圈', Icons.circle),
        _buildListItem('视频号', Icons.videocam),
        _buildListItem('直播', Icons.live_tv),
        _buildListItem('扫一扫', Icons.qr_code),
        _buildListItem('听一听', Icons.audiotrack),
        _buildListItem('看一看', Icons.visibility),
        _buildListItem('搜一搜', Icons.search),
        _buildListItem('附近', Icons.near_me),
      ],
    );
  }

  Widget _buildListItem(String title, IconData iconData) {
    return ListTile(
      leading: Icon(iconData),
      title: Text(title),
      onTap: () {
        // 处理列表项点击事件
        print('点击了$title');
      },
    );
  }
}
